//
//  OrderManager.h
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/5/11.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface OrderManager : NSObject

///取消订单
+(void)cancelOrderWithOrderNo:(NSString *)orderNo withSuccessBlock:(void (^)(void))successBlock;
//去支付
+(void)payWithOrderNo:(NSString *)orderNo withSuccessBlock:(void (^)(void))successBlock withPayBlock:(void (^)(id payResponseDict))payBlock;
///删除订单
+(void)deleteOrderWithOrderNo:(NSString *)orderNo withSuccessBlock:(void (^)(void))successBlock;
///确认完成
+(void)confrimDoneWithID:(NSString *)itemID withSuccessBlock:(void (^)(void))successBlock;
///确认收货
+(void)confirmTheGoodsWithOrderNo:(NSString *)orderNo withSuccessBlock:(void (^)(void))successBlock;






//自定义提示
+(void)showCustomAlertTitle:(NSString *)title message:(NSString *)message confirmBlock:(void(^)(void))confirmBlock;

@end

NS_ASSUME_NONNULL_END
